Hi troncam,
If under
Mach3 | Config | Ports&Pins | Input Signals | X,Y,Z Home
you have the signals enabled then for some reason Mach3 will not send Home messages to our Plugin. Try disabling those.
HTH Regards TK
Group: DynoMotion |
Message: 7862 |
From: troncam |
Date: 7/5/2013 |
Subject: Re: Mach 3 REF Button setup? |
Hi TK
That did it now I'm getting replies in the consoul window.
Now I need to work on the homing C program but I think I have a shot at getting there now.
Thanks for the help!
troncam
--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi troncam,
>
> If under
>
>
> Mach3 | Config | Ports&Pins | Input Signals | X,Y,Z Home
>
> you have the signals enabled then for some reason Mach3 will not send Home messages to our Plugin. Try disabling those.Â
>
>
> HTH
> Regards
> TK
>
>
>
> ________________________________
> From: troncam <troncam@...>
> To: DynoMotion@yahoogroups.com
> Sent: Friday, July 5, 2013 7:51 AM
> Subject: [DynoMotion] Mach 3 REF Button setup?
>
>
>
> Â
> Ok I must be totally missing something.
> I have a water cutting table with DC brushless motors and encoders with a KFlop controller.
> The Kflop was set up with KMotion and KMotion CNC.
> We are trying to change it over to Mach 3 but we would like to keep the KMotionCNC also.
> I have worked with Mach 3 and stepper motors before but not a KFlop.
> We are using the standard Mach 3 mill screen set.
> I'm using the same InitStepDir3Axis.c as the KMotionCNC used and have that working.
> I have edited the Mach3 screen "Zero Buttons" to execute a script as shown in the KFlop Manual page 218. I have a Notify.c file setup and I think that, that is all working correctly.
> So when I click the "Zero X" it zeros the DRO I get a message in the KMotion console screen.
> I'm now trying to get the "REF Buttons" working and having no luck at all.
> First my REF buttons don't look like the ones shown in the manual Page 222 I'm ignoring that for now. My REF buttons are on the last tab or page 5 in the MachScreen editor.
> I changed the OEM-Code in each button as shown in the manual.
> X = OEM-Code was 22 Now OEM-Code 1022
> Y = OEM-Code was 23 Now OEM-Code 1023
> Z = OEM-Code was 24 Now OEM-Code 1024
> I have put "HomeEncoderMach3.c" in the plugin.
> I know that this c file may need to be edited but I cannot get it to work at all.
> I click the X REF button and I don't get anything on the KMotion console at all.
> I have look and searched the group look for a hint but no luck.
> So do I need to have the REF buttons execute code like the Zero buttons?
> Does the c code have to be compiled and upload to the KFlop?
> Or a better question how is this C code working is it being executed by the plugin DLL and sent to the controller?
>
> troncam
>
|
|
| |